LD = ld
LDFLAG = -o
LIB = -lm -ldl -lpthread -lrt -ldl
CC = gcc
CCFLAG = -g -c -static

SRC = sha01test.c sectest.c aestest.c sm4test.c destest.c sec_common.c ssf33test.c sm1test.c sm6test.c three_destest.c
OBJ = sha01test.o sectest.o aestest.o sm4test.o destest.o sec_common.o ssf33test.o sm1test.o sm6test.o three_destest.o
APP = sym_demo

$(APP):$(OBJ)
	$(CC) $(LDFLAG) $(APP) $(OBJ) $(INCDIR) $(LIBDIR) $(LIB)

$(OBJ):$(SRC)
	$(CC) $(CCFLAG) $(SRC) $(INCDIR)

clean:
	rm $(APP) $(OBJ)

